.userCard {
  display: flex;
  align-items: center;
  justify-content: center;

  .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }


}

.tabContainer {
  width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
}


/*头像信息*/
.myAvatar {

  .showAvatar {
    /*里面内容居中*/
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .allAvatarBorder {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中（如果需要） */
    margin-top: 60px;
    .selectAvatarBorder {
      display: grid;
      max-width: 900px;
      grid-template-columns: repeat(auto-fill, minmax(168px, 0));
      grid-auto-rows: 168px;
      grid-gap: 10px;
      .avatarBorderItem {
        border: 1px solid #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        .avatarBorderName {
          margin-top: 8px;
          font-size: 18px;
          font-family: ShangShouYaJuTi2, serif;
        }
      }
    }
  }
}

.avatarBorderModal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: ShangShouYaJuTi2, serif;
}

.avatarBorderModalFooter {
  display: flex;
  align-items: center;
  justify-content: center;
}
